package net.feling.mcloud.entity;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{
    private String uid;
    private String CPUfreq;
    private String memory;
    private String batteryLeft;
    private String GPSInfo;
    private String deviceId;
    private Date date;
    private boolean networkState;

    /**
     *
     * @return
     * net / 總
     */
    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getUid() {
        return uid;
    }

    /**
     *
     * @param uid 用戶ID
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getCPUfreq() {
        return CPUfreq;
    }

    public void setCPUfreq(String CPUfreq) {
        this.CPUfreq = CPUfreq;
    }

    public String getBatteryLeft() {
        return batteryLeft;
    }

    public void setBatteryLeft(String batteryLeft) {
        this.batteryLeft = batteryLeft;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getGPSInfo() {
        return GPSInfo;
    }

    public void setGPSInfo(String GPSInfo) {
        this.GPSInfo = GPSInfo;
    }

    public static String getType() {
        return User.class.getSimpleName();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public boolean getNetworkState() {
        return networkState;
    }

    public void setNetworkState(boolean networkState) {
        this.networkState = networkState;
    }
}
